﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.NewFolder1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用户注册<br />
            用户名:<asp:TextBox ID="uname" runat="server"></asp:TextBox>
            <br />
            密码:<asp:TextBox ID="pwd" runat="server"></asp:TextBox>
            <br />
            密码确认:<asp:TextBox ID="pwd1" runat="server"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pwd" ControlToValidate="pwd1" ErrorMessage="密码不一致" ForeColor="Red"></asp:CompareValidator>
            <br />
            密保问题:<asp:DropDownList ID="DropDownList1" runat="server" Height="16px" Width="157px">
                <asp:ListItem>----自定义----</asp:ListItem>
                <asp:ListItem>爸爸叫什么 </asp:ListItem>
                <asp:ListItem>妈妈叫什么</asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            密保答案:<asp:TextBox ID="ans" runat="server"></asp:TextBox>
            <br />
            邮箱:<asp:TextBox ID="Eamil" runat="server"></asp:TextBox>
            <br />
            联系电话:<asp:TextBox ID="cell" runat="server"></asp:TextBox>
            <br />
            性别：<asp:RadioButton ID="sex1" runat="server"  GroupName="sex" Text="男" />
            <asp:RadioButton ID="sex2" runat="server"  GroupName="sex" Text="女"/>
            <br />
            专业：<asp:DropDownList ID="DropDownList2" runat="server">
                <asp:ListItem>JAVA</asp:ListItem>
                <asp:ListItem>C#</asp:ListItem>
                <asp:ListItem>Sql</asp:ListItem>
            </asp:DropDownList>
            <br />
            爱好：<asp:CheckBox ID="CheckBox3" runat="server" Text="抽烟" />
            <asp:CheckBox ID="CheckBox4" runat="server" Text="喝酒" />
            <asp:CheckBox ID="CheckBox5" runat="server" Text="烫头发" />
            <asp:CheckBox ID="CheckBox6" runat="server" Text="打游戏" />
            <asp:CheckBox ID="CheckBox7" runat="server" Text="吃饭" />
            <asp:CheckBox ID="CheckBox8" runat="server" Text="睡觉" />
            <br />
            头像：<asp:ImageButton ID="ImageButton1" runat="server" />
            <br />
            自我介绍：<br />
            <asp:TextBox ID="TextBox7" runat="server" Height="150px" Width="334px"></asp:TextBox>
            <br />
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="注册" />
            <asp:Button ID="Button2" runat="server" Text="取消" />
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        </div>
    </form>
</body>
</html>
